<%@ page language="java" contentType="text/html; charset=UTF-8" import="com.newcrm.config.*,java.net.URLEncoder,com.newcrm.bean.*" pageEncoding="UTF-8"%>
<%
	// 获取产品信息
  ProductInfo productInfo = Config.getInstance().productInfo;
  String productName = productInfo.productName;
  String companyHref = productInfo.companyHref;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title><%=productName%> 安装向导</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="renderer" content="webkit"/>
  <meta http-equiv=X-UA-Compatible content="IE=EmulateIE7" />
  <link rel="shortcut icon" href="<%=request.getContextPath()%>/images/qikebao.ico" />
  <link href="<%=request.getContextPath()%>/css/setup<%=productInfo.logoImageExtInfo%>.css?ver=<%=Const.VERSION%>" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
  <div class="container">
    <div class="header">
      <div class="header-title">
        <h1><%=productName%> 安装向导</h1>
        <span>新一代客户管理平台</span>
      </div>
      <div class="setup step4">
        <h2>安装成功</h2>
        <p>恭喜您已经成功安装了<%=productName%>软件</p>
      </div>
      <div class="stepstat">
        <ul>
          <li class="activated">1</li>
          <li class="activated">2</li>
          <li class="activated">3</li>
          <li class="current last">4</li>
          </ul>
        <div class="stepstatbg stepstat4"></div>
      </div>
    </div>
    <div class="main">
      <% if ("1".equals(productInfo.activeCodeFlag)) {%>
      <div class="weixin">
    		<p><%=productName%>已经安装完毕</p>
    		<p>开启您的高效客户管理之旅</p>
    		<p>从此开始</p>
        <div><a href="<%=request.getContextPath()%>/signin?userId=admin">立即登录</a></div>
      </div>
      <% } else {%>
      <div class="weixin">
    		<p><%=productName%>微信公众号</p>
    		<p>获取最新升级信息，分享最佳商业实践</p>
    		<p>敬请关注！</p>
        <img src="http://www.qikebao.com/images/weixin.jpg">
        <div><a href="<%=request.getContextPath()%>/signin?userId=admin">立即登录</a></div>
      </div>
      <% }%>
      <div class="footer">&copy;2010 - 2017 <a href="<%=companyHref%>"><%=productName%></a> Inc.</div>
    </div>
  </div>
</body>
</html>